package hu.dynamicwebshop.daos;

import hu.dynamicwebshop.entities.Menu;
import java.util.List;

/**
 *
 * @author Szecskó Zoltán <zoltan.szecsko@gmail.com>
 */
public interface MenuDAO {

    public List<Menu> getMenuStructure();

    public void saveMenu(Menu menu);

    public int getLastPlaceId();

    public void modifyMenu(Menu menu);

    public int getPlaceIdByMenuName(String menuName);

    public int getMenuIdByName(String text);
}
